#ifndef _KC_MESSAGEREPRCONVERTER_H__KC_
#define _KC_MESSAGEREPRCONVERTER_H__KC_

#include <boost/noncopyable.hpp>
#include "../data/Entity.h"
#include "../data/Message.h"
#include "../../mime/data/RawMessage.h"

namespace kc_sf
{
	class MessageReprConverter : boost::noncopyable
	{
		public:

			~MessageReprConverter();
			Message operator()( Entity &input, const RawMessage &rmsg );

		private:

			Message *m_output;

			void convert( Entity &entity );
	};
}

#endif // _KC_MESSAGEREPRCONVERTER_H__KC_
